﻿{include file="Public/public" /}
<body>
 <div class="wrap">
  <div class="page-title">
    <span class="modular fl"><i class="user"></i><em>修改密码</em></span>
  </div>
  <form action="/adminuser/update" method="post">
  <table class="noborder">
   <tr>
    <td width="15%" style="text-align:right;">账号：</td>
    <td><input name="username" type="text" value="{$data.username}" class="textBox length-middle"/></td>
   </tr>
   <tr>
    <td style="text-align:right;">旧密码：</td>
    <td><input name="password" type="password" class="textBox length-middle"/></td>
   </tr>
   <tr>
    <td style="text-align:right;">新密码：</td>
    <td><input name="newpassword" type="password" class="textBox length-middle"/></td>
   </tr>
   <tr>
    <td style="text-align:right;">再次确认密码：</td>
    <td><input name="newrpassword" type="password" class="textBox length-middle"/></td>
   </tr>
   <tr>
     <tr>
    <td style="text-align:right;">管理员级别：</td>
    <td>
     <select class="textBox" name="power">
        <option value="0">超级管理员</option>
      <!-- {foreach name="datas" item="row"}
        <option value="{$row['uid']}"{if condition="$data['power']==$row['uid']"}selected{/if}>{$row['name']}</option>
      {/foreach} -->
     </select>
    </td>
   </tr>
    <td style="text-align:right;"></td>
    <input type="hidden" name="id" value="{$data.id}">
    <td><input type="submit" class="tdBtn" value="保存"/></td>
   </tr>
  </table>
</form>
 </div>
</body>
</html>